import App from './App'
import {toList} from './common/api.js'
// #ifndef VUE3
import Vue from 'vue'
/* main.js中引用 */
import sundehengCustom from './components/sundeheng-custom/sundeheng-custom.vue'
import store from 'store/index.js'
Vue.component('sundeheng-custom',sundehengCustom)
Vue.config.productionTip = false
Vue.prototype.$http = toList
App.mpType = 'app'
const app = new Vue({
    ...App,
  store
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif